//
//  BVShoppingCart.h
//  BuyVegetable
//
//  Created by yushanchang on 16/10/27.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import "BVBase.h"
#import "MJExtension.h"

@interface BVShoppingCart : BVBase

/*
 id : "32245"
 title : "口菇"
 img : "http://121.42.189.14:8082/Uploads/Assortment/m_kou.jpg"
 unit_price : "0"
 weight : "0"
 goods_num : "4"
 unit : null
 is_sales : "非促销"
 discount : 0
 status : "下架"
 number : "0"
 all_price : 0
 */

/**
 *  商品id
 */
@property (nonatomic, copy) NSString *ID;

/**
 *  商品状态（是否有效(1:上架 0:下架)）
 */
@property (nonatomic, copy) NSString *status;
/**
 *  配图
 */
@property (nonatomic, copy) NSString *img;
/**
 *  是否促销
 */
@property (nonatomic, copy) NSString *is_sales;
// 折扣，is_sales=1时起作用，7.5：7 5折
@property (nonatomic, copy) NSString *discount;
/**
 *  商品名称
 */
@property (nonatomic, copy) NSString *title;
/**
 *  单位
 */
@property (nonatomic, copy) NSString *unit;
/**
 *  单价
 */
@property (nonatomic, copy) NSString *unit_price;
/**
 *  重量(规格)
 */
@property (nonatomic, copy) NSString *weight;
/**
 *  小计
 */
@property (nonatomic, copy) NSString *all_price;
/**
 *  购物车所选商品数量
 */
@property (nonatomic, assign) NSInteger goods_num;
/**
 *  库存数量
 */
@property (nonatomic, assign) NSInteger number;
/**
 *  限购提示
 */
@property (nonatomic, copy) NSString *notice;
/**
 *  记录选择状态
 */
@property (nonatomic, assign) BOOL is_selected;

@end
